<template>
<view>
<form report-submit @submit="getFormId">
  <button class="formid__button" form-type="submit">
    <slot></slot>
  </button>
</form>
</view>
</template>
<script lang='ts'>
import { Component, Vue,Prop } from 'vue-property-decorator'

@Component
export default class FormId extends Vue {
    @Prop()
    goodsData:object
getFormId(e) {
    this.$emit(
      "click",
      {
        formId: e.detail.formId,
      },
      {},
    );
  }
}
</script>
<style scoped>
</style>